<template>
    <van-search @click="jump()" v-model="value" shape="round"  placeholder="输入商家、商家名称" input-align="center" left-icon/>
</template>

<script>
export default {
    data() {
    return {
      value: '',
    };
  },
  methods:{
    jump(){
      this.$router.push('/search/');
    }
  }
}
</script>

<style lang="scss" scoped>
.van-search{
    background: linear-gradient(to right,#01a5fe,#0185ff);
}

</style>